package org.wyl.controller;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RestController;
import org.wyl.service.impl.GoodService;
import org.wyl.vo.GoodVo;

/**
 * @author 吴宇亮 on 2022/2/17 15:46
 */
@RestController("/good")
public class GoodProviderController {

//    @Autowired
    private GoodService goodService;

    @GetMapping("/getById")
    public GoodVo getById(String id){
        return goodService.getById(id);
    }

}
